<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>放生</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <script type="text/javascript" src="{MODULE_URL}public/yu/js/flexible.js"></script>
    <script type="text/javascript" src="{MODULE_URL}public/yu/js/pageLoading.js"></script>
    <script type="text/javascript" src="{MODULE_URL}public/yu/js/jquery.js"></script>
    <link type="text/css" rel="stylesheet" href="{MODULE_URL}public/yu/css/index2.css">



    <script src="{MODULE_URL}public/yu/js/zepto.min.js"></script>
</head>
<body>

<img src="{MODULE_URL}public/yu/images/indexbg.jpg" alt="背景" class="indexbg">
<div class="music turn"></div>
<audio src="http://baifo.b0.upaiyun.com/music/music.mp3" autoplay loop></audio>
<div class="flypath">
    <div class="flygo">
        <div class="birdfly"></div>
    </div>
    <div class="flygo two">
        <div class="birdfly"></div>
    </div>
</div>

<div class="relbtn">
    <!-- <a href="JavaScript:void(0);"></a> -->
    <a href="{php echo $this->createMobileUrl('shengwu')}"></a>
</div>


<div class="indextip" id="indextip" style="display: none;background: #EADFCF;">
    <div class="close"></div>
    <div class="cont">
        感恩您的慈悲放生！日行一善，每天放生三次，望您明日继续来放生，解救众生性命，功德无量。
    </div>
</div>
<div class="qrcode" id="qrcode">
    <div class="imgbox">
        <img src="{MODULE_URL}public/yu/images/wxm.jpg" alt="二维码">
    </div>
</div>
<script>
    $('.close').on('tap', function(){
        $(this).parent().css('display', 'none');
    });


    $('.music').on('tap', function(){
        if (!$(this).hasClass('off')){
            $(this).addClass('off');
            $(this).removeClass('turn');
            $('audio').get(0).pause();
        }else {
            $(this).removeClass('off');
            $(this).addClass('turn');
            $('audio').get(0).play();
        }
    });


    $(function(){
        $('.relbtn a').click(function(){
                $('#qrcode').css('display', 'block');
        });
    });

    $('#qrcode').click(function(){
        $(this).hide();

    });

</script>




<!-- 底部导航 -->
 {template 'yucommon/nav'}
<!-- 底部导航 -->
<!--<div id="mask"></div>-->

<script src="{MODULE_URL}public/yu/js/fun.js"></script>


</body>
</html>